const express = require('express')
const os = require('os')
const app = express()

app.get('/index', (req, res) => {
    res.json({
        code: 200,
        message: 'index返回数据,改数据',
        list: os.cpus()
    })
})

app.listen(9999, () => {
    console.log('index.js==========>', 'http://localhost:9999/index')
})